package com.woniu.service.healthSystem.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniu.mapper.healthSystem.ManagerRoleMapperGb;
import com.woniu.model.healthSystem.entity.ManagerRole;
import com.woniu.service.healthSystem.IManagerRoleServiceGb;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 职员角色表 服务实现类
 * </p>
 *
 * @author gb
 * @since 2023-10-19
 */
@Service
public class ManagerRoleServiceImplGb extends ServiceImpl<ManagerRoleMapperGb, ManagerRole> implements IManagerRoleServiceGb {

    @Autowired
    private ManagerRoleMapperGb managerRoleMapperGb;

    /**
     * 查询所有角色
     */
    @Override
    public List<ManagerRole> findAll() {
        return managerRoleMapperGb.findAll();
    }
}
